JavaScript

A5.u.arrayununique Method

Syntax

A5.u.array.ununique(array)

Arguments

arrayarray

The array to get the ununique items of. Items in the array can be of any type including objects and arrays.

Returns

ununiquearray

An array of ununique items.

Description

Get the ununique items of an array.

Example

var a = [1,2,3,3,5,6,1,2,4,6];
var au = A5.u.array.ununique(a);
// au =[1, 2, 3, 6]